package cn.tedu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.beans.IntrospectionException;
import java.util.Date;
@Data
@Accessors(chain = true)
@TableName("student")
public class Student extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String account;
    private String name;
    private String sex;
    private String addr;
    private Integer age;
    @TableField(exist = false)
    private Grade grade;
    @TableField(exist = false)
    private XueJi xueJi;
}
